# -*- coding: utf-8 -*-
# @Time : 2022/6/17 14:26
# @Author : 王森
# @Email : wayne_lau@aliyun.com
# @File : url.py
# @Project : syl
from flask_script import Manager
from flask_migrate import MigrateCommand,Migrate
from main import app
from common.models import db
from common.models.users import *
from common.models.courses import *
from common.models.orders import *
from common.models.paths import *
from common.models.permissiones import *
manager = Manager(app)
migrate = Migrate(app, db)
manager.add_command('db',MigrateCommand)

if __name__ == '__main__':
    manager.run()